home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
tsca
/
dbstat.frm
< prev
next >
Wrap
Text File
|
1995-05-08
|
2KB
|
80 lines
VERSION 2.00
Begin Form DBStat
BackColor = &H00FFFF80&
Caption = "Component Control"
ClientHeight = 2520
ClientLeft = 660
ClientTop = 4350
ClientWidth = 4050
Height = 2925
Left = 600
LinkTopic = "Form1"
ScaleHeight = 2520
ScaleWidth = 4050
Top = 4005
Width = 4170
Begin TextBox Text2
Height = 285
Left = 2280
TabIndex = 5
Text = "Text2"
Top = 240
Width = 615
End
Begin ListBox List1
Height = 1395
Left = 240
TabIndex = 3
Top = 840
Width = 1455
End
Begin TextBox Text1
Height = 285
Left = 240
TabIndex = 1
Text = "Text1"
Top = 240
Width = 1695
End
Begin CommandButton Command1
Caption = "Okay"
Height = 375
Left = 2280
TabIndex = 0
Top = 1920
Width = 1215
End
Begin Label Label2
BackColor = &H00FFFF80&
Caption = "is"
Height = 255
Left = 2040
TabIndex = 4
Top = 240
Width = 255
End
Begin Label Label1
BackColor = &H00FFFF80&
Caption = "Select defective part."
Height = 255
Left = 2040
TabIndex = 2
Top = 720
Width = 1935
End
End
Sub Command1_Click ()
Dim cm As Integer
cm = List1.ListIndex
If cm >= 0 Then fault(caller) = List1.Text
Unload DBStat
End Sub
Sub Form_Load ()
Dim i As Integer
For i = 0 To 4
DBStat.List1.AddItem part(i)
Next i
End Sub